package com.gzyj.pojo.web.tpvdata;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author ZhiPeng.Lin
 * @Description
 * @Date 2024-10-10
 */
@Data
@TableName(value = "tpvehdata")
public class Tpvehdata implements Serializable {

    private static final long serialVersionUID = 2725242900723664490L;

    @TableField(value = "Vehid")
    private String vehid;

    @TableField(value = "DeptID")
    private String deptId;

    @TableField(value = "Cheliangzhuangtai")
    private Integer cheliangzhuangtai;

    @TableField(value = "Shiyongxingzhi")
    private String shiyongxingzhi;

    @TableField(value = "DeviceID")
    private String deviceId;

    @TableField(value = "VeNumber")
    private String veNumber;

    @TableField(value = "VeColor")
    private String veColor;

    @TableField(value = "Longitude")
    private Double longitude;

    @TableField(value = "Latitude")
    private Double latitude;

    @TableField(value = "Velocity")
    private Integer velocity;

    @TableField(value = "Angle")
    private Integer angle;

    @TableField(value = "Locate")
    private Integer locate;

    @TableField(value = "LastLocateTime")
    private Date lastLocateTime;

    @TableField(value = "Systime")
    private Date systime;

    @TableField(value = "Time")
    private Date time;

    @TableField(value = "Alarm")
    private Integer alarm;

    @TableField(value = "AlarmNote")
    private String alarmNote;

    @TableField(value = "ACC")
    private Integer acc;

    @TableField(value = "WiFiSignal")
    private Integer wiFiSignal;

    @TableField(value = "SatelliteLen")
    private Integer satelliteLen;

    /**
     * 熄火时长.
     */
    @ApiModelProperty("熄火时长")
    @TableField(value = "flameout")
    private Integer flameout;

    /**
     * 停车时间.
     */
    @ApiModelProperty("停车时间")
    @TableField(value = "StopTime")
    private String stopTime;

    @ApiModelProperty("驾驶员")
    @TableField(value = "driverName")
    private String driverName;

    @ApiModelProperty("油量")
    @TableField(value = "oil")
    private Integer oil;

    @ApiModelProperty("终端里程")
    @TableField(value = "mileZongduan")
    private Integer mileZongduan;

    @ApiModelProperty("平台计算总里程")
    @TableField(value = "mileTotal")
    private Double mileTotal;

    @ApiModelProperty("平台计算今日里程")
    @TableField(value = "mileToday")
    private Double mileToday;


    @TableField(exist = false)
    private long userDeptId;
    @TableField(exist = false)
    private int searchType;
    @TableField(exist = false)
    private int onlineType;
    @TableField(exist = false)
    private int videoType;
    @TableField(exist = false)
    private String searchKey;
    @TableField(exist = false)
    private int onlineTime;

    @TableField(exist = false)
    public Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null) {
            params = new HashMap<>();
        }
        return params;
    }

}
